Lua for the PlayStation Portable is interpreted with Lua Player. Lua Player can run lua scripts and display them on the Sony PSP. Lua Player HM is a Lua player with features like browsing the PSP Flash, having the ability to resize and rotate images, downloading files from the net.
The latest version for Lua Player HM to date is Lua Player HM v8.0.
Lua Player HM was founded by PSP Homebrew scene member Homemister, who was then joined by PickDaT. The Lua Player HM Website (either http://www.luaplayerhm.co.uk or http://luaplayerhm.xtreemhost.com) has information about current releases and other information on works in progress. The application also has a community where members can share code and help each other out with Lua programming problems.
Changes for Version v2
Soon
Changes for Version 8
Soon
Command | Function |
---|---|
System.loadPrxKernel("foo.prx") | Will load a PRX into the kernel memory. Allows kernel functions to be used. |
System.webbrowser(pathofwebbrowser, url) | Will load the web browser with the URL entered. If no URL entered then Google will load. |
System.runeboot("foo.pbp") | Runs Eboots, 1.50 Eboots can only be run on the "PHAT" Playstation Portable (Series 1000). |
System.getFileSize("foo.txt") | Get the file size in bytes. |
System.getDirSize("foo") | Get the directory size in bytes. |
--- | Fixed USB problem not working on 1.50 kernel. |
System.autoCpu() | Automatically changes the CPU speed to meet the needed CPU requirement. If plugged into power will default to 300 MHz. It will also return the speed of the script cycle.♠ |
System.getCpuSpeed() | Returns the CPU speed. |
System.getBusSpeed() | Returns the bus speed. |
Hprm.read() | Returns "PLAY", "FWD", "BACK", "VOLUP", "VOLDOWN", "HOLD" from the Inline remote. |
Hprm.headphone() | Returns 1 or 0 depending on whether headphones are plugged in or not. |
Hprm.remote() | Returns 1 or 0 depending on whether the inline remote is plugged in or not. |
Hprm.mic() | Returns 1 or 0 depending on whether a supported microphone is fitted or not. |
System.doesDirExist(foo) | Returns 1 or 0 if Directory exists or not. |
System.doesFileExist(foo.txt) | Returns 1 or 0 if File exists or not. |
System.getTotalSize(foo) | Returns total size of foo in bytes (eg, "ms0:/", "disk0:/", "flash1:/") |
System.getFreeSpace(foo) | Returns free space of foo in bytes (eg, "ms0:/", "disk0:/", "flash1:/") |
System.loadElf(foo) | Loads an ELF file. ♣ |
Wlan.startGameShare(foo, code) | Start's a Gameshare Session. foo being location of script and code being an 8-digit unique code. |
Mp3me.rawSongTime() | Returns the amount of seconds in a song. |
Aa3me.rawSongTime() | Returns the number of seconds in a song. |
Aa3me.instantBitrate() | Returns the instant bit rate. |
Mp3me.instantBitrate() | Returns the instant bit rate. |
Mp3me.vis(foo) | Returns data for visualisations. foo must be a number between 1 and 100 (1 is Trebal, 100 is Bass) |
Aa3me.vis(foo) | Returns data for visualisations. foo must be a number between 1 and 100 (1 is Trebal, 100 is Bass) |
ZIP.extract(foo.zip, directory, "password") | Use to extract zip files. Use "" if Zip has no password protection. |
System.startGameSave("Name Of Savegame","Name of Actual Game","Details",foo,"Unique Name") | Saves game data. |
System.startGameLoad("Unique Name") | Loads game data. |
System.cfw() | *FIX* Now updated to support GEN Custom firmware. |
System.LCDTimerDisable() | Disables the LCD from turning off after no activity. |
System.LCDTimerGet() | Returns the time of the powersave. |
System.LCDTimerEnable() | Enables the LCD to turn off after no activity. |
--- | Fixed browsing of UMD, Flash0, Flash1, Flash2 and Flash3 (Will not return Current Working Directory) |
--- | Fixed Assigning and Unassigning Flash. |
System.getEboot(foo,number) | Returns Eboot image files. Change number to 1 for "ICON0.PNG", 2 for "PIC0.PNG" and 3 for "PIC1.PNG" |
Image.load(foo) | Loads an PNG or Jpeg image. |
--- | Fixed Loading Images. Image sizes 1600×1440 now supported. |
--- | MP3, OGG, Acc3 have been updated to latest versions. |
--- | Fixed System.oaenable() and System.oadisable() |
--- | System.madeby() has been updated to 7.0 |
--- | System.playerVer() has been updated to 7.0 |
--- | Other bugs also fixed. |